package com.qqtech.qquan.mall.model;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class MallShop extends BaseDomain{

	//columns START
    /** 店铺名 */
	private java.lang.String name;
    /** 发布人 */
	private java.lang.Integer creatorId;
    /** 店铺状态:1-正常,2-无效 */
	private java.lang.Integer status;
	/** 主营类目(mall_shop_category的categoryId) */
	private java.lang.String categoryId;
    /** 店铺类型:1-直营超市,2-圈商店铺 */
	private java.lang.Integer type;
	/** 圈商店铺类型:1-邻里店,2-社区店铺 */
	private java.lang.Integer style;
    /** 所在省份Id */
	private java.lang.Integer provinceId;
    /** 所在城市Id */
	private java.lang.Integer cityId;
    /** 所在区、镇Id */
	private java.lang.Integer regionId;
    /** 店铺地址 */
	private java.lang.String address;
    /** 店铺经度 */
	private BigDecimal x;
    /** 店铺纬度 */
	private BigDecimal y;
    /** 店铺电话 */
	private java.lang.String phone;
    /** 店铺图片/LOGO */
	private java.lang.String logo;
    /** 营业执照图片 */
	private java.lang.String licensePic;
    /** 店铺详情 */
	private java.lang.String resume;
    /** 详情图片 */
	private java.lang.String resumeImg;
    /** 支持的支付方式:1-货到付款,2-在线支付,多个以;分开 */
	private java.lang.String payType;
    /** 运费 */
	private BigDecimal freight;
    /** 免运费金额 */
	private BigDecimal freeFreight;
	/** 起送金额 */
	private BigDecimal deliveryValue;
    /** 店铺审核状态:1-未审核,2-审核通过,3-审核失败 */
	private java.lang.Integer auditStatus;
    /** 店铺审核时间 */
	private java.sql.Timestamp auditAt;
	/** 社区id */
	private Integer communityId;
	/** 配送类型:1-可自提,2-可配送,多个以;分开 */
	private String sendDeliveryType;
    /** 分账比例 */
	private BigDecimal rate;
	/** 营业开始时间 */
	private java.lang.String busStart;
	/** 营业结束时间 */
	private java.lang.String busEnd;
	/** 首页推荐:1-是,2-否 */
	private java.lang.Integer hasRecommend;
	 /** 销售订单量 */
	private java.lang.Integer saleOrderCount;
	/** 是否支持圈币支付:1-是,2-否*/
	private java.lang.Integer isUseQuanPay;
	/** 商家圈币结算比例【最大为1,即100%】*/
	private BigDecimal quanPayRate;
	/** 圈圈平台圈币结算比例【最大为1,即100%】*/
	private BigDecimal qqQuanPayRate;
	
	/** 服务社区ids(多个以;号隔开) */
	private java.lang.String extCommunityIds;
	/** 服务社区names(多个以;号隔开) */
	private java.lang.String extCommunityNames;
	
	
	//columns END
	public MallShop(){
	}

	public MallShop( java.lang.Integer id ){
		this.id = id;
	}

	public void setName(java.lang.String name) {
		this.name = name;
	}

	public java.lang.String getName() {
		return this.name;
	}
	
	public void setCreatorId(java.lang.Integer creatorId) {
		this.creatorId = creatorId;
	}

	public java.lang.Integer getCreatorId() {
		return this.creatorId;
	}
	
	public void setStatus(java.lang.Integer status) {
		this.status = status;
	}

	public java.lang.Integer getStatus() {
		return this.status;
	}
	
	public java.lang.String getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(java.lang.String categoryId) {
		this.categoryId = categoryId;
	}

	public void setType(java.lang.Integer type) {
		this.type = type;
	}

	public java.lang.Integer getType() {
		return this.type;
	}
	
	public java.lang.Integer getStyle() {
		return style;
	}

	public void setStyle(java.lang.Integer style) {
		this.style = style;
	}

	public void setProvinceId(java.lang.Integer provinceId) {
		this.provinceId = provinceId;
	}

	public java.lang.Integer getProvinceId() {
		return this.provinceId;
	}
	
	public void setCityId(java.lang.Integer cityId) {
		this.cityId = cityId;
	}

	public java.lang.Integer getCityId() {
		return this.cityId;
	}
	
	public void setRegionId(java.lang.Integer regionId) {
		this.regionId = regionId;
	}

	public java.lang.Integer getRegionId() {
		return this.regionId;
	}
	
	public void setAddress(java.lang.String address) {
		this.address = address;
	}

	public java.lang.String getAddress() {
		return this.address;
	}
	
	public void setX(BigDecimal x) {
		this.x = x;
	}

	public BigDecimal getX() {
		return this.x;
	}
	
	public void setY(BigDecimal y) {
		this.y = y;
	}

	public BigDecimal getY() {
		return this.y;
	}
	
	public void setPhone(java.lang.String phone) {
		this.phone = phone;
	}

	public java.lang.String getPhone() {
		return this.phone;
	}
	
	public void setLogo(java.lang.String logo) {
		this.logo = logo;
	}

	public java.lang.String getLogo() {
		return this.logo;
	}
	
	public void setLicensePic(java.lang.String licensePic) {
		this.licensePic = licensePic;
	}

	public java.lang.String getLicensePic() {
		return this.licensePic;
	}
	
	public void setResume(java.lang.String resume) {
		this.resume = resume;
	}

	public java.lang.String getResume() {
		return this.resume;
	}
	
	public void setResumeImg(java.lang.String resumeImg) {
		this.resumeImg = resumeImg;
	}

	public java.lang.String getResumeImg() {
		return this.resumeImg;
	}
	
	public void setPayType(java.lang.String payType) {
		this.payType = payType;
	}

	public java.lang.String getPayType() {
		return this.payType;
	}
	
	public void setFreight(BigDecimal freight) {
		this.freight = freight;
	}

	public BigDecimal getFreight() {
		return this.freight;
	}
	
	public void setFreeFreight(BigDecimal freeFreight) {
		this.freeFreight = freeFreight;
	}

	public BigDecimal getFreeFreight() {
		return this.freeFreight;
	}
	
	public void setAuditStatus(java.lang.Integer auditStatus) {
		this.auditStatus = auditStatus;
	}

	public java.lang.Integer getAuditStatus() {
		return this.auditStatus;
	}
	
	public void setAuditAt(java.sql.Timestamp auditAt) {
		this.auditAt = auditAt;
	}

	public java.sql.Timestamp getAuditAt() {
		return this.auditAt;
	}
	
	public Integer getCommunityId() {
		return communityId;
	}

	public void setCommunityId(Integer communityId) {
		this.communityId = communityId;
	}

	public String getSendDeliveryType() {
		return sendDeliveryType;
	}

	public void setSendDeliveryType(String sendDeliveryType) {
		this.sendDeliveryType = sendDeliveryType;
	}

	public BigDecimal getRate() {
		return rate;
	}

	public void setRate(BigDecimal rate) {
		this.rate = rate;
	}

	public java.lang.String getBusStart() {
		return busStart;
	}

	public void setBusStart(java.lang.String busStart) {
		this.busStart = busStart;
	}

	public java.lang.String getBusEnd() {
		return busEnd;
	}

	public void setBusEnd(java.lang.String busEnd) {
		this.busEnd = busEnd;
	}

	public java.lang.Integer getHasRecommend() {
		return hasRecommend;
	}

	public void setHasRecommend(java.lang.Integer hasRecommend) {
		this.hasRecommend = hasRecommend;
	}
	
	public BigDecimal getDeliveryValue() {
		return deliveryValue;
	}

	public void setDeliveryValue(BigDecimal deliveryValue) {
		this.deliveryValue = deliveryValue;
	}

	public java.lang.Integer getSaleOrderCount() {
		return saleOrderCount;
	}

	public void setSaleOrderCount(java.lang.Integer saleOrderCount) {
		this.saleOrderCount = saleOrderCount;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}

	public java.lang.Integer getIsUseQuanPay() {
		return isUseQuanPay;
	}

	public void setIsUseQuanPay(java.lang.Integer isUseQuanPay) {
		this.isUseQuanPay = isUseQuanPay;
	}

	public BigDecimal getQuanPayRate() {
		return quanPayRate;
	}

	public void setQuanPayRate(BigDecimal quanPayRate) {
		this.quanPayRate = quanPayRate;
	}

	public BigDecimal getQqQuanPayRate() {
		return qqQuanPayRate;
	}

	public void setQqQuanPayRate(BigDecimal qqQuanPayRate) {
		this.qqQuanPayRate = qqQuanPayRate;
	}

	public java.lang.String getExtCommunityIds() {
		return extCommunityIds;
	}

	public void setExtCommunityIds(java.lang.String extCommunityIds) {
		this.extCommunityIds = extCommunityIds;
	}

	public java.lang.String getExtCommunityNames() {
		return extCommunityNames;
	}

	public void setExtCommunityNames(java.lang.String extCommunityNames) {
		this.extCommunityNames = extCommunityNames;
	}
}

